<?php

use think\facade\Route;

/* 用户卡券 */
Route::group('user/coupon', function () {
    Route::get('<type>$', '@list');
    Route::post('exchange$', '@exchange');
})->prefix('\app\user\service\user\Coupon')
    ->middleware([
        \app\common\middleware\Init::class,
        \app\common\middleware\BindLoginUser::class,
    ]);
